import request from '@/utils/request'

export function getCallConfigList() {
  return request({
    url: '/operator/getCallConfigList',
    method: 'post',
    contentType: 'application/json'
  })
}

export function insertOrUpdateCallConfig(data) {
  return request({
    url: '/operator/insertOrUpdateCallConfig',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

export function deleteCallConfig(data) {
  return request({
    url: '/operator/deleteCallConfig',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

export function getGridConfig(data) {
  return request({
    url: '/operator/getGridConfig',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

export function insertOrUpdateGridConfig(data) {
  return request({
    url: '/operator/insertOrUpdateGridConfig',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

export function deleteGridConfig(data) {
  return request({
    url: '/operator/deleteGridConfig',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

export function getOptLogList(data) {
  return request({
    url: '/operator/getOptLogList',
    method: 'post',
    contentType: 'application/json',
    data
  })
}

